home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / ln03 / rmcs / graphics.sty < prev    next >
Text File  |  1990-07-16  |  1KB  |  28 lines

  1. %-----------------------------------------------------------------------------
  2. % GRAPHICS.STY
  3. % ~~~~~~~~~~~~
  4. % The actual macros defined by this are called \largeVT, etc; the `240'
  5. % is actually part of the ``parameter template''.  Dirty, but it works!!
  6. %
  7. %   \gr@phins{sixel_file}{height}{width}
  8. %-----------------------------------------------------------------------------
  9. \def\gr@phins#1#2#3{{\hbox to#3{\vbox to#2{\special{ln03:sixel #1}\vfil}\hfil}}}
  10.  
  11. \def\largeVT240#1{\gr@phins{#1}{3.2in}{5.33333in}}
  12. \def\smallVT240#1{\gr@phins{#1}{1.6in}{2.66667in}}
  13. \def\largeVis550#1{\gr@phins{#1}{3.90in}{5.12in}}
  14. \def\smallVis550#1{\gr@phins{#1}{1.95in}{2.56in}}
  15. \def\gino(#1,#2)#3{\gr@phins{#3}{#2\unitlength}{#1\unitlength}}
  16.  
  17. %
  18. %-----------------------------------------------------------------------------
  19. % \MatlabPlot{sixel_file}
  20. %-----------------------------------------------------------------------------
  21. \def\MatlabPlot#1{\gr@phins{#1}{3.00in}{5.00in}}
  22.  
  23. %
  24. %-----------------------------------------------------------------------------
  25. % \SixelPlot{sixel_file}{height}{width}
  26. %-----------------------------------------------------------------------------
  27. \def\SixelPlot#1#2#3{\gr@phins{#1}{#2}{#3}}
  28.